package api

import (
	"fmt"
	"time"
)

var (
	datetime string
	welcome  string
)

func init() {
	now := time.Now()
	datetime = now.Format("2006-01-02 15:04:05")
	welcome = "陈文小超欢迎您来到今日的golang语言学习，现在的时间是：" + datetime
}

func Welcome() {
	fmt.Println(welcome)
	fmt.Println("---------------")
}

func Access() {
	fmt.Println("ok")
}
